package com.biz.primus.ms.oms.dao.repository;

import com.biz.primus.ms.oms.dao.po.OrderPaymentInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author yanweijin
 * @date 2017/11/4
 */
public interface OmsPaymentRepository extends JpaRepository<OrderPaymentInfo,Long>{

    /**
     * 根据订单ID获取支付信息
     * @param orderId
     * @return
     */
    List<OrderPaymentInfo> findByOrderId(Long orderId);
}
